package com.ttx.http.demo.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author TimFruit
 * @date 19-12-30 下午7:07
 */
@Configuration
@ConfigurationProperties(prefix = "resttemplate.example.server")
public class RestTemplateConfig {

    private String url;


    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

}
